<%@ page import="java.util.List" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<!doctype html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport"
        content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <link rel="stylesheet" type="text/css"
        href="static/jquery-easyui-1.3.3/themes/default/easyui.css">
  <link rel="stylesheet" type="text/css"
        href="static/jquery-easyui-1.3.3/themes/icon.css">
  <link rel="icon" href="">
  <script type="text/javascript"
          src="static/jquery-easyui-1.3.3/jquery.min.js"></script>
  <script type="text/javascript"
          src="static/jquery-easyui-1.3.3/jquery.easyui.min.js"></script>
  <script type="text/javascript"
          src="static/js/common.js"></script>
</head>
<body style="margin: 1px;">

<%
  AdminDao adminDao = new AdminDao();
  Admin admin = adminDao.getAdmin(1);
%>
  <form id="fm" method="post">
    <table cellspacing="8px">
      <tr>
        <td>Username:</td>
        <td><input type="text" id="username" name="username" value="<%=admin.getUsername()%>"
                   class="easyui-validatebox" readonly="true"/>&nbsp
      </tr>
      <tr>
        <td>Rolename:</td>
        <td><input type="text" id="rolename" name="rolename" value="<%=admin.getRolename()%>"
                   class="easyui-validatebox" readonly="true"/>
      </tr>
    </table>
  </form>
</body>
</html>